<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Wall extends CI_Controller {

 
	function __construct()
	{
		parent::__construct();
		
		// check if user logged in 
		if (!$this->ion_auth->logged_in())
	  	{
			redirect('auth/login');
	  	}
		$this->load->model('user/user_model');
		$this->load->model('user/attendance_model');		
	}
		
   function index()
   {
	   $page = $this->session->flashdata('page');	
	   $meta['page_title'] = "My Wall";		
	  
       $this->load->view('common/header', $meta);
     // $this->load->view('user/'.$page.'/dashboard',$data);
	   $this->load->view('user/wall');
       $this->load->view('common/footer');
   }
	
	
}
	
	?>